package com.cqut.util;

import org.apache.logging.log4j.util.Strings;

import java.util.Objects;

public class ArgUtils {
    public static boolean isHaveBlankArgs(String... args){
        for (String arg : args){
            if (Strings.isBlank(arg)){
                return true;
            }
        }
        return false;
    }

    public static boolean isHaveNullArgs(Object... args){
        for (Object obj : args){
            if (Objects.isNull(obj)){
                return true;
            }
        }
        return false;
    }
}
